package com.zyh.scs.admin.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author hwh
 * @ClassName: 字典表$
 * @Description: $
 * @Date $
 * @Version 1.0
 */
@Data
@Schema(description = "字典表")
@TableName("scsx_dict")
@Accessors(chain = true)
public class UserDict implements Serializable {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "主键id")
    private Long id;
    /**
     * 字典描述
     */
    @TableField(value = "dict_describe")
    @Schema(description = "字典描述")
    private String dictDescribe;

    /**
     * 字典值
     */
    @TableField(value = "dict_value")
    @Schema(description = "字典值")
    private String dictValue;
}
